package gof.com.yew.flyweight;

/**
 * UnsharedConcreteFlyWeight 非共享享元类 
 *  不能被共享的子类可以设计为非共享享元类
 */
public class Coordinate {
	private int x,y;

	public Coordinate(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}
	
}
